package com.generic;



public class TestT{
	public static void main(String[] args){
		Gen<String> test = new Gen<String>();
		System.out.println(test.get());
		System.out.println(test.getOne());
	}
}

class Gen<T> {
	static <T> T evaluate(T val) {
		// ...
		return val;
	}

	T get() {
		T val = (T) "Zhang";
		return val;
	}
	
	<T> T getOne() {
		T val = (T) "Dongdong";
		return val;
	}
}

class Gen1{
	
	<T> T getPP(T val){
		
		return val;
	}
}